package DataClasses;




public class Townhouse {
		String name;
		int price;
		int size; // total size in square feet
		int bedroomNunber;
		int livingroomNumber;
		int bathroomNumber;
		int parkingSpot;
		int parkingType;// 1(underground), 2(ground/outside), 3(garage), 4(street) 
		int floor; // floor level
		double longitude;
		double latitude;
		int type;  //1 for rental, 2 for sale
		
		public Townhouse (String name, int price, int size, int livingroomNumber, int bathroomNumber,int parkingSpot,int parkingType,int floor,double longitude,double latitude,int type){
			this.name = name;
			this.price = price;
			this.size =size;
			this.livingroomNumber = livingroomNumber;
			this.bathroomNumber = bathroomNumber;
			this.parkingSpot = parkingSpot;
			this.parkingType = parkingType;
			this.floor = floor;
			this.longitude =longitude;
			this.latitude = latitude;
			this.type =type;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public int getPrice() {
			return price;
		}

		public void setPrice(int price) {
			this.price = price;
		}

		public int getSize() {
			return size;
		}

		public void setSize(int size) {
			this.size = size;
		}

		public int getBedroomNunber() {
			return bedroomNunber;
		}

		public void setBedroomNunber(int bedroomNunber) {
			this.bedroomNunber = bedroomNunber;
		}

		public int getLivingroomNumber() {
			return livingroomNumber;
		}

		public void setLivingroomNumber(int livingroomNumber) {
			this.livingroomNumber = livingroomNumber;
		}

		public int getBathroomNumber() {
			return bathroomNumber;
		}

		public void setBathroomNumber(int bathroomNumber) {
			this.bathroomNumber = bathroomNumber;
		}

		public int getParkingSpot() {
			return parkingSpot;
		}

		public void setParkingSpot(int parkingSpot) {
			this.parkingSpot = parkingSpot;
		}

		public int getParkingType() {
			return parkingType;
		}

		public void setParkingType(int parkingType) {
			this.parkingType = parkingType;
		}

		public int getFloor() {
			return floor;
		}

		public void setFloor(int floor) {
			this.floor = floor;
		}

		public double getLongitude() {
			return longitude;
		}

		public void setLongitude(double longitude) {
			this.longitude = longitude;
		}

		public double getLatitude() {
			return latitude;
		}

		public void setLatitude(double latitude) {
			this.latitude = latitude;
		}

		public int getType() {
			return type;
		}

		public void setType(int type) {
			this.type = type;
		}
		
		
		
	}
